'use strict';

module.exports = app => {
  const { STRING, INTEGER, DATE } = app.Sequelize;

  const DefineTable = app.model.define('defineTable', {
    id: { type: INTEGER, primaryKey: true, autoIncrement: true },
    key: STRING(255),
    name: STRING(255),
    deletedAt: DATE,
  });

  return DefineTable;
};
